package com.example.its2021606134chh.TrafficViolationModule;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName: CarPeccancy$
 * @Description: 作用
 * @Author: letquit
 * @CreateDate: 9/8/2021$
 * @Version: 1.0
 */
public class CarPeccancy {
    /**
     * ERRMSG : 成功
     * ROWS_DETAIL : [{"id":1,"carnumber":"鲁B10001","pcode":"1001A　　","pdatetime":"2016-05-21 16:19:23.0","paddr":"北京路"},{"id":2,"carnumber":"鲁B10002","pcode":"1001B　　","pdatetime":"2016-05-22 09:19:21.0","paddr":"重庆路"},{"id":3,"carnumber":"鲁B10003","pcode":"1002A　　","pdatetime":"2016-05-23 10:19:21.0","paddr":"沈阳路"},{"id":4,"carnumber":"鲁B10014","pcode":"1002B　　","pdatetime":"2016-05-24 11:19:21.0","paddr":"南京路"},{"id":5,"carnumber":"鲁B10015","pcode":"1005A　　","pdatetime":"2016-05-25 12:19:21.0","paddr":"上海路"},{"id":6,"carnumber":"鲁B10016","pcode":"1005B　　","pdatetime":"2016-05-26 14:19:21.0","paddr":"广州路"},{"id":7,"carnumber":"鲁B10017","pcode":"1006A　　","pdatetime":"2016-05-27 14:19:21.0","paddr":"高速公路"}]
     * RESULT : S
     */

    private String ERRMSG;
    private String RESULT;
    private List<ROWSDETAILBean> ROWS_DETAIL;

    public String getERRMSG() {
        return ERRMSG;
    }

    public void setERRMSG(String ERRMSG) {
        this.ERRMSG = ERRMSG;
    }

    public String getRESULT() {
        return RESULT;
    }

    public void setRESULT(String RESULT) {
        this.RESULT = RESULT;
    }

    public List<ROWSDETAILBean> getROWS_DETAIL() {
        return ROWS_DETAIL;
    }

    public void setROWS_DETAIL(List<ROWSDETAILBean> ROWS_DETAIL) {
        this.ROWS_DETAIL = ROWS_DETAIL;
    }

    public static class ROWSDETAILBean implements Serializable {
        /**
         * id : 1
         * carnumber : 鲁B10001
         * pcode : 1001A　　
         * pdatetime : 2016-05-21 16:19:23.0
         * paddr : 北京路
         */

        private int id;
        private String carnumber;
        private String pcode;
        private String pdatetime;
        private String paddr;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCarnumber() {
            return carnumber;
        }

        public void setCarnumber(String carnumber) {
            this.carnumber = carnumber;
        }

        public String getPcode() {
            return pcode;
        }

        public void setPcode(String pcode) {
            this.pcode = pcode;
        }

        public String getPdatetime() {
            pdatetime = pdatetime.substring(0, 19);
//            2016-10-01 16:19:21
            return pdatetime;
        }

        public void setPdatetime(String pdatetime) {
            this.pdatetime = pdatetime;
        }

        public String getPaddr() {
            return paddr;
        }

        public void setPaddr(String paddr) {
            this.paddr = paddr;
        }
    }
}